package com.jeesite.modules.dp.entity.chatai;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

@Table(name="dp_ai_useage_logs", alias="a", label="聊天包信息", columns={
        @Column(name="id", attrName="id", label="ID", isPK=true),
        @Column(name="user_id", attrName="userId", label="用户id", isQuery = true),
        @Column(name="date", attrName="date", label="日期", isQuery = true),
        @Column(name="chart_num", attrName="chartNum", label="聊天次数"),
}, orderBy="a.date ASC"
)
public class DpChartAiUsageLogEntity extends DataEntity<DpChartAiUsageLogEntity> {

    private String userId;

    private Integer date;

    private Integer chartNum;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getDate() {
        return date;
    }

    public void setDate(Integer date) {
        this.date = date;
    }

    public Integer getChartNum() {
        return chartNum;
    }

    public void setChartNum(Integer chartNum) {
        this.chartNum = chartNum;
    }
}
